import roles from './roles'

export default {
  path: 'users',
  component: resolve => require(['@/app/Users'], resolve),
  children: [
    {
      path: 'list',
      component: resolve => require(['@/app/Users/List'], resolve)
    },
    {
      path: 'form/:id?',
      component: resolve => require(['@/app/Users/Form'], resolve)
    },
    {
      path: 'userrole/:id?',
      component: resolve => require(['@/app/Users/UserRole'], resolve)
    },
    {
      ...roles
    }
  ]
}
